<html>
<head>
  <title>Scaling and box-shadow</title>
  <style type="text/css" media="screen">
    #box {
      height: 100px;
      width: 100px;
      margin: 20px;
      background-color: gray;
      transform-origin: top left;
      -webkit-box-shadow: 0px 20px 20px black;
      transform: scale(2);
    }
    
    #box.smaller {
      transform: scale(1);
    }
  </style>

  <script src="../resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
  <script type="text/javascript" charset="utf-8">
    function repaintTest()
    {
      document.getElementById('box').className = 'smaller';
    }
  </script>
</head>
<body onload="runRepaintAndPixelTest()">

<img id="box">

</body>
</html>
